package com.roamer.school.repository.entity.sys;

import com.baomidou.mybatisplus.annotation.TableName;
import com.roamer.school.repository.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用户角色关系
 *
 * @author roamer
 * @version V1.0
 * @date 2019/1/6 18:18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("ref_user_role")
public class UserRoleRelation extends BaseEntity<UserRoleRelation> {

    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long userId;

    /** 角色ID */
    private Long roleId;
}
